package com.yixing.tech.entity.po;

import lombok.Data;
import lombok.experimental.Accessors;
import org.bson.Document;
import org.springframework.data.annotation.Id;

/**
 * @author yixing tech
 * at 2022/4/8
 * describe：
 */
@Data
@Accessors(chain = true)
public class EntityData extends Document {

    @Id
    private String id;

    private String objCode;

    public String getTenantId() {
        return getString("tenantId");
    }

    public String getId() {
        return getString("id");
    }

}
